package com.game.center.messages.response.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(title = "用户登录成功返回的角色信息参数")
public class PlayerRoleVo {

    @Schema(title = "玩家账户ID")
    private long userId;

    @Schema(title = "玩家角色ID")
    private long roleId;

    @Schema(title = "昵称")
    private String nickName;

    @Schema(title = "头像")
    private String headImg;

    @Schema(title = "等级")
    private int level;

    @Schema(title = "金币")
    private long gold;

    @Schema(title = "积分")
    private long score;

    @Schema(title = "门票数量")
    private long ticket;

    @Schema(title = "鱼杆数量")
    private long pole;

    @Schema(title = "鱼饵数量")
    private long bait;

    @Schema(title = "创建时间")
    private Date createTime;

    @Schema(title = "最近一次登录时间")
    private Date lastLoginTime;

    @Schema(title = "最近一次下线时间")
    private Date lastLogoutTime;

    @Schema(title = "是否最新创建")
    private boolean newCreate;
}

